* {
	-webkit-tap-highlight-color: transparent;
}

html, button {
	text-transform: uppercase;
	font-weight: bold;
	color: #fff;
	font-family: sans-serif;
}

html {
	background: #282c37;
}


main,
div {
	padding: 1rem;
}

main,
div {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-around;
	align-content: center;
	align-items: center;
}

main {
	background: linear-gradient(#444957, #282c38);
}

h1 {
	text-align: center;
	font-size: 1.5rem;
	margin-bottom: 0;
}

h1 span {
	display: inline-block;
	padding-bottom: 0.5em;
	border-bottom: 3px solid #f2712e;
}

button {
	background: #2f453f;
	border: 1px solid #628068;
	border-radius: 58px;
	padding: 1em 3em;
	font-family: system-ui;
}

.button-disable {
	background: #cccccc;
	border-color: #628068;
}
.button-green {
	background: #2f453f;
	border-color: #628068;
}
.button-stop {
	background: #751729;
	border-color: #8a161c;
}

.button-up {
	width:180px;margin-left: 15px;margin-bottom: 15px;
}
.button-down {
	width:180px;margin-left: 15px;
}

.button-led {
	text-indent: -9999em;
	overflow: hidden;
	border-radius: 50%;
	padding: 0;
	width: 3em;
	height: 3em;
	border-color: #6f737d;
	position: relative;
	z-index: 10;
	background: transparent;
}

.button-led::before {
	border-radius: 50%;
	content: '';
	display: block;
	position: absolute;
	z-index: -1;
	top: 5px;
	left: 5px;
	right: 5px;
	bottom: 5px;
	/*border:5px solid orange;*/
}

.button-led-red::before {
	background: #fa2e2e;
}

.button-led-green::before {
	background: #6df99a;
}

.button-led-blue::before {
	background: #58a7e2;
}

.button-led-off::before {
	background: #9fa2a9;
}

.active {
	background: #58a7e2;
}

.btn {
	/*padding: 10px 20px;
	background-color: #007bff;
	color: #fff;
	border-radius: 5px;
	transition: all 0.2s ease;*/
}
.btn:hover {
	/*background-color: #008cba;*/
	transform: scale(1.05);
}
.btn:active {
	/*background-color: #005b9f;*/
	transform: scale(0.90);
}
/*number输入框隐藏上下按钮*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button{
  -webkit-appearance: none !important;
  margin: 0; 
}
input[type="number"]{-moz-appearance:textfield;}


/*http://www.webkaka.com/tutorial/html/2022/0908295/*/
.scrolling-wrapper {
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
}
.scrolling-wrapper .card {
  display: inline-block;
}

.scrolling-wrapper-flexbox {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.scrolling-wrapper-flexbox .card {
  flex: 0 0 auto;
  margin-right: 3px;
}

.card {
  /*border: 1px solid #a6192d;*/
  /*width: 150px;
  height: 75px;
  background: black;*/
  white-space:pre;/*为了alt换行*/
}

.scrolling-wrapper, .scrolling-wrapper-flexbox {
/*  height: 80px;
  margin-bottom: 20px;
  width: 100%;*/
  -webkit-overflow-scrolling: touch;
}
/*.scrolling-wrapper::-webkit-scrollbar, .scrolling-wrapper-flexbox::-webkit-scrollbar {
  display: none;
}*/

.hisNo{
	font-family:monospace;display: flex;color:red
}
.hisText{
	display: flex;color:white
}




.tag {
	top: 0px;
	right: 0px;
	height: 20px;
	width: 20px;

	font-size:14px;
	font-family:'Droid Serif';
	text-align:center;
	color:#FFF;
	margin-left:15px;
	float:right;
	
	 z-index:999;
	display:block;
	position:relative; 
}	

 .box {
	height:inherit;
	width:inherit;
 }



/* 滚动条的样式 */
/* 滚动条样式 https://blog.csdn.net/liqiannan8023/article/details/126762803 */
/*  1. ::-webkit-scrollbar 滚动条整体部分，可以设置宽度等
    2. ::-webkit-scrollbar-button 滚动条两端的按钮
    3. ::-webkit-scrollbar-track  外层轨道
    4. ::-webkit-scrollbar-track-piece  内层滚动槽
    5. ::-webkit-scrollbar-thumb 滚动的滑块
    6. ::-webkit-scrollbar-corner 边角
    7. ::-webkit-resizer 定义右下角拖动块的样式 
*/

/* 
::-webkit-scrollbar {
	width: 10px;
   }
   
::-webkit-scrollbar-track {
	-webkit-box-shadow:inset 0 0 6px #EAEAEA;
	border-radius:10px;
}
   
::-webkit-scrollbar-track-piece {
   background-color: rgba(233, 233, 233, 1);
   -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
   border-radius: 5px;
}
   
::-webkit-scrollbar-thumb {
   border-radius: 10px;
   background: #515151;
   -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
} */
/*----- 滚动条 -------*/
::-webkit-scrollbar-track { background-color: rgba(0,0,0,0.2);  }
::-webkit-scrollbar {  
	width: 6px;
	/* height:2px;   */
	background-color: #F5F5F5;
	border-radius: 5px;  }
::-webkit-scrollbar-thumb { /* */
	background: #4e5055;
	border-radius: 5px;  
}
::-webkit-scrollbar-corner{ background-color: #F5F5F5;}



header {
    background-color: #282c37;
    color: #fff;
    font-size: 14px;
    top: 0;
    position: fixed;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 9999;
}

header p {
    margin: 10px 0;
}

header i {
    color: red;
}

header a {
    color: #3c97bf;
    text-decoration: none;
}


footer {
    background-color: #282c37;
    color: #fff;
    font-size: 14px;
    bottom: 0;
    position: fixed;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 999;
}

footer p {
    /* margin: 10px 0; */
}

footer i {
    color: red;
}

footer a {
    color: #3c97bf;
    text-decoration: none;
}

.right-bottom{
    position: fixed;
    bottom: 0px;
    left: 0px;
    background-color: transparent;
    font-size: 14px;
    border: 0px solid #ddd;
}

@keyframes heart-bounce {
	from {transform: scale(1); }
	12% {transform: scale(1.02); }
	20% {transform: scale(0.99); }
	28% {transform: scale(0.98); }
	32% {transform: scale(1.2); }
	38% {transform: scale(0.96); }
	50% {transform: scale(1); }
	58% {transform: scale(0.98); }
	70% {transform: scale(0.9); }
	80% {transform: scale(0.98); }
	to {transform: scale(1); } 
}

.heart-beat{
		animation-duration: 1s; 
		animation-iteration-count: infinite; 
		animation-name: heart-bounce; 
}

	
@keyframes pulse {
		0% {
			transform: scale(0.70);
			box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
		}
	
		70% {
			transform: scale(1);
			box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
		}
	
		100% {
			transform: scale(0.70);
			box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
		}
}
	 
.pulse {
		/* background: black; */
		border-radius: 50%;
		/* margin: 10px;
		height: 20px;
		width: 20px; */
	
		box-shadow: 0 0 0 0 rgba(255, 0, 0, 1);
		transform: scale(1);
		animation: pulse 2s infinite;
}